<template>
	<li class="li">
		<!--表头-->
		<table>
	       	<tr>
			    <th>Month</th>
			    <th>Savings</th>
			</tr>
		</table>
        <!-- 组件中引用当前组件，传入下级数据 -->
        <!--<i class="icon-top"></i>-->
        <!--<ul class="a1">
        	<App-Treetable v-for="model in model.children" :model="model" @get_data="chuanzhi"></App-Treetable>
        </ul>-->
        
    </li>
</template>

<script>
	export default{
		props:['model'],
		name:'treetable',
		data(){
			return{
				offon:true,
			}
		},
		mounted(){
			console.log(this.model)
		},
		methods:{
			chuanzhi(name){
				this.$emit('get_data',name)
			},
		}
	}
</script>

<style scoped="scoped" lang="scss">
	
</style>